{% extends '../admin/layout.html' %}

{% block content %}
<form method="post" action="/forum/create" id="form-create-forum">
  <fieldset>
    <legend>建立論壇</legend>
    <ul>
      <li class="form-field">
        <label class="form-label" for="forum-title">討論區標題</label><br>
        <input type="text" id="forum-title" name="forum[title]" size="30">
      </li>
      
      <li class="form-field">
        <label class="form-label" for="forum-permalink">永久連結</label><br>
        <input type="text" id="forum-permalink" name="forum[permalink]" size="30">
        <div class="form-note">(決定後無法修改)</div>
      </li>

      <li class="form-field">
        <label class="form-label" for="forum-summary">討論區敘述</label><br>
        <textarea id="forum-summary" name="forum[summary]" rows="5" cols="40"></textarea>
        <div class="form-note">(決定後無法修改)</div>
      </li>

      <li class="form-field">
        <input type="submit" value="確定新增">
      </li>
    </ul>
  </fieldset>
</form>
{% endblock %}
